home *** CD-ROM | disk | FTP | other *** search
/ Hornet Underground 1 / Hornet Underground.iso / 1992 / copper.lzh / READ.IT < prev   
Text File  |  1992-12-28  |  7KB  |  145 lines

  1.  
  2.                                  *C*O*P*P*E*R*
  3.                                 ~~~~~~~~~~~~~~~
  4.                   Copyright (C) 1992 by Surprise! productions
  5.  
  6.  
  7.        This  file gives some informations and (technical) details about
  8.        the Copper demo. Of course you don't have to read this shit, but
  9.        I would apreciate if you do it anyway....
  10.  
  11.        Copper requires:
  12.  
  13.        * About 430k of free memory. The Exe-file itself needs about 330
  14.          kilobytes  (uncompressed), approx. 96kb more are needed during
  15.          program execution.
  16.        * A more or less 100% IBM compatible standard VGA
  17.        * an Adlib,  SoundBlaster, SoundBlaster Pro, Thunderboard or any
  18.          other  Adlib  compatible  Soundcard.  Without  a soundcard you
  19.          won't hear much of the whacky sound :-(
  20.  
  21.        This  demo  is some kind of unusual for PC demos. A lot of demos
  22.        achive their effects by massive usage of the CPU.
  23.        But  this  one  hardly uses the CPU, the effects are achieved by
  24.        hardware functions of the VGA.
  25.        A  tipical example for a 'CPU-heavy' program is the fucking best
  26.        PC  demo ever made: Unreal by the Future Crew. On fast CPU's the
  27.        demo's  great.  But on a slow CPU, for example a 386SX or even a
  28.        286 the action gets a bit sickening.
  29.        This  is  because nearly everything from grafics to sound output
  30.        is done by our poor and lonesome CPU.
  31.        I  wanted to create a demo which simulates a copper in a PC. For
  32.        your  information:  The copper chip is one of the AMIGA's chips.
  33.        Besides  of  the  blitter, the copper is the main reason for the
  34.        AMIGA's great grafics and demo capabilities.
  35.  
  36.        I'm  not the first to simulate a copper. Quite a few coders have
  37.        found  out how to do it. But they only used the copper trick for
  38.        changing the colors each raster line.
  39.        I  want to show all those coders that far more powerfull effects
  40.        can  be  done  by  this mighty copper trick, even in combination
  41.        with  music. (By the way, 'copper' is often also called 'raster'
  42.        trick on PC)
  43.  
  44.        To  say  it  loud and clear: !ALL! effects occuring in this demo
  45.        are  hardware  functions of the VGA! Believe it or not.
  46.        The  only  problem  is, that these hardware functions have to be
  47.        absolutely  perfectly timed. This is quite difficult, because no
  48.        two  CPU's  run at the same speed. But! since this demo is based
  49.        on  Hardware  effects,  this  demo  depends very much on the VGA
  50.        adaptor in your machine...
  51.        If  you've got an cool adaptor such as a Tseng ET4000, this demo
  52.        should run perfectly on a 286.
  53.        But  if  you've  got a xy-taiwan-0%-compatible-slow-vram then it
  54.        won't  help  much to have a 486! So don't blame the coder, blame
  55.        your hardware!
  56.  
  57.        I  can't  guarantee  that this demo will run on each PC! Anybody
  58.        who  ever  has  written  a demo for the IBM knows, how difficult
  59.        that is. And because of the difficult, complex and tricky timing
  60.        and synchronisation algorthims I had to use, I guess this demo's
  61.        gonna  bug  on  quite  a lot machines. But if it does work, then
  62.        you'll see a great show.
  63.  
  64.        Copper has been tested with the following configurations:
  65.  
  66.              * 486, 33/16 Mhz, Tseng ET4000
  67.              * 486, 50/25 Mhz, Tseng ET4000 (8-Bit DAC's)
  68.              * 386, 33 Mhz, Tseng ET3000
  69.  
  70.        On  some  computers,  even  on  some using a Tseng, the parts in
  71.        which  I  used  colorpages, don't run. (The computer & the music
  72.        doesn't stop, only the screen stays black.)
  73.        If  that happens, press Escape, then the part should be skipped.
  74.  
  75.        Copper DOES NOT run properly under OS/2. So you really shouldn't
  76.        bother trying to run it. If you still are crazy enough, and want
  77.        to  see  10 minutes of awfull flickering combined with bad timed
  78.        music, you should at least run it as full screen session, simply
  79.        because OS/2 doesn't like Chain-4-mode in a window.
  80.  
  81.        Now  some technical details for guys, who think they could do it
  82.        better:
  83.  
  84.        Copper  runs  in  the  undocumented VGA mode known as tweaked or
  85.        chain-4  mode. Check your VGA hardware reference or e.g. 'Mental
  86.        Surgery'  by  FC  for  details on how to initialize this special
  87.        mode.
  88.        The  music  routine is an optimized Adlib player by Jesper Olsen
  89.        of  Vibrants. It runs at 70 calls per second. It's NOT called by
  90.        timer, instead it's called through vertical interrupt. (A big HI
  91.        to  JCH!  I  know,  you've  told  me to ALLWAYS use timer, but I
  92.        couldn't resist the temptation of doing it my way...)
  93.        The  whole program is written in 100% of Assembler (what else?).
  94.        I  used  TASM / TLINK for assembling it. It runs in .286 mode (I
  95.        used some PUSHA / POPA commands here and there...)
  96.        Some details on how to program copper effects:
  97.  
  98.                *  check bit 0 in 3BAH / 3DAH (input state #0)
  99.                   for horizontal retrace
  100.  
  101.                *  change colors with usual 3C8H / 3C9H registers
  102.  
  103.                *  use 3B4H / 3D4H, index 13H for stretching
  104.  
  105.                *  use 3B4H / 3D4H, index 4 for wobbling
  106.  
  107.                *  use 3C0H index 10H,14H for color pages
  108.  
  109.        Of course, the above is only a brief outline on how to do copper
  110.        effects, but one should experiment to find new tricks. I'm sure
  111.        I haven't done everything possible.
  112.  
  113.        If  you need some help on copper, or if you wanna get in contact
  114.        with me, then write to this address:
  115.  
  116.                   Rick Dangerous / Erik Pojar
  117.                   Siegfriedgasse 55
  118.                   A-1210 Wien
  119.                   AUSTRIA     Phone: +43 222 25 30 423 (1500-000 CET)
  120.  
  121.        For  membership/friendship/demo swapping contact Rick Dangerous,
  122.        or one of the following:
  123.  
  124.                   Red Scorpion
  125.                   Bogevej 5, Harridslev
  126.                   DK-8900 Randers
  127.                   DENMARK     Phone: +45 86 44 22 44 (also Fax)
  128.  
  129.        We are looking for more members, especially from Austria, Germany
  130.        or Denmark. Don't hesitate. Join us.
  131.  
  132.        Signed,
  133.                         Rick Dangerous / Surprise! productions
  134.                         late December 1992.
  135.  
  136.        Have fun & enjoy life!
  137.  
  138.        Last minute notes:
  139.  
  140.        We've also got a BBS in Austria:
  141.        HIGHLANDER
  142.          Austria
  143.        +43 14093937
  144.  
  145.